﻿<%@ Page Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="AdminUsuario.aspx.cs" Inherits="HelpDesk.CrearUsuario" Title="Administracion de Usuarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #Datos
        {
            text-align: center;
        }
        .style1
        {
            text-align: right;
        }
        #tabla
        {
            width: 353px;
        }
        .style2
        {
            text-align: right;
            height: 26px;
        }
        .style3
        {
            height: 26px;
        }
        .style4
        {
            height: 22px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div class="post">
			<h1 class="title"><a href="#"><asp:Label ID="lblTitulo" runat="server" 
                    Text=""></asp:Label>
                </a></h1>
			<p class="meta"></p>
		</div>
		<div id="Datos">
        <table id="tabla" border="0">
            <tr>
                <td class="style1">
                    <asp:Label ID="Label5" runat="server" Text="Nombre de Usuario: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtUsuario" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label8" runat="server" Text="Contraseña: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" MaxLength="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label9" runat="server" Text="Confirmar Contraseña: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtPassword2" runat="server" TextMode="Password" MaxLength="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style4"></td>
                <td class="style4">
                    <asp:HiddenField ID="HiddenField1" runat="server" 
                        onvaluechanged="HiddenField1_ValueChanged" />
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="Primer Nombre: "></asp:Label>
                </td>
                <td style="text-align: left" class="style3">
                    <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label2" runat="server" Text="Segundo Nombre: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtNombre2" runat="server"></asp:TextBox>
                </td>
            </tr>
                    <tr>
                <td class="style1">
                    <asp:Label ID="Label3" runat="server" Text="Primer Apellido: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtApellido" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label4" runat="server" Text="Segundo Apellido: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtApellido2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label6" runat="server" Text="Email: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label7" runat="server" Text="Telefono: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtTelefono" runat="server" MaxLength="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td></td>
                <td style="text-align: left"></td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label11" runat="server" Text="Area: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:DropDownList ID="ddlArea" runat="server" Height="22px" 
                        style="margin-bottom: 0px" Width="127px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label10" runat="server" Text="Rol: "></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:DropDownList ID="ddlRol" runat="server" Height="22px" Width="125px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td style="text-align: right">
                    &nbsp;</td>
                <td style="text-align: left">
                    <asp:Button ID="btnBorrar" runat="server" Text="Borrar" Width="80px" 
                        onclick="btnBorrar_Click1"/>
                    <asp:Button ID="btnGuardar" runat="server" Text="Guardar" Width="80px" 
                        onclick="btnGuardar_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
